{{include file="default/Public/header.html"}}
<script src="admin/Public/js/calendar/WdatePicker.js" language="javascript"></script>
<form id="myform" name="myform" method="post" action='{{U url="factivity/edit_apply"}}'  >
<div id="pageTop">
	<div class="addBtn"><a href='{{U url="factivity/add_apply?catid=`$cat.catid`"}}'>添加报名信息</a></div>
	<div class="cate">
      <a href='{{U url="factivity/manage_apply?catid=`$cat.catid`&aid=`$in.aid`"}}' class="selected">报名信息管理</a>|
      <a href='{{U url="factivity/manage?catid=`$cat.catid`"}}'>&lt;&lt;返回活动列表</a>
	</div>	
</div>
<div id="pageCo">
	<div class="manageForm">
		<table cellpadding="0" cellspacing="0" class="tabcontent" id="tabsContent1">
			<tbody>
				<tr>
			      <th style="width:100px;">姓名</th>
			      <td><input type="text" name="info[name]" class="required input" value="{{$data.name}}" style="width:200px;" /></td>
			      <th style="width:100px;">电话</th>
			      <td><input type="text" name="info[tel]" class="input" value="{{$data.tel}}" style="width:200px;" /></td>
			    </tr>
			    <tr>
			      <th style="width:100px;">QQ</th>
			      <td><input type="text" name="info[qq]" value="{{$data.qq}}" style="width:200px;" class="input"/></td>
			      <th style="width:100px;">电子邮件</th>
			      <td><input type="text" name="info[email]" class="email input" value="{{$data.email}}" style="width:200px;" /></td>
			    </tr>
			    <tr>
			      <th>报名时间</th>
			      <td colspan="3">			      	
					<input type="text" onfocus="WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd HH:mm'})" name="info[create_time]" class="Wdate" value="{{if $data.create_time}}{{$data.create_time|date_format:"%Y-%m-%d %H:%M"}}{{else}}{{$smarty.now|date_format:"%Y-%m-%d %H:%M"}}{{/if}}">
					</td>
			    </tr>			   
			    <tr>
			      <th>留言内容</th>
			      <td colspan="3"><textarea name="info[message]" class=" textarea" style="width:80%; height:60px;">{{$data.content}}</textarea></td>
			    </tr>
			    <tr>
			      <th>回复</th>
			      <td colspan="3"><textarea name="info[reply]" class="textarea" style="width:80%; height:60px;">{{$data.reply}}</textarea></td>
			    </tr>
			    <tr>
			      <th>回复时间</th>
			      <td colspan="3">			      	
					<input type="text" onfocus="WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd HH:mm'})" name="info[reply_time]" class="Wdate" value="{{if $data.reply_time}}{{$data.reply_time|date_format:"%Y-%m-%d %H:%M"}}{{else}}{{$smarty.now|date_format:"%Y-%m-%d %H:%M"}}{{/if}}">
				  </td>
			    </tr>
			    <tr>
			      <th>审核</th>
			      <td colspan="3"><label><input type="radio" name="info[status]" value="0" {{if $data.status!=1}}checked{{/if}} />待审</label>
			      	  <label><input type="radio" name="info[status]" value="1" {{if $data.status==1}}checked{{/if}} />审核</label></td>
			    </tr>
			</tbody>
			<tfoot>
				<tr>
				  <th>&nbsp;</th>
				  <td>
				    <input type="hidden" name="forward" value="{{U url='factivity/manage_apply'}}&catid={{$cat.catid}}" />
				    <input type="hidden" name="info[aid]" value="{{$in.aid}}" />
				    <input type="hidden" name="catid" value="{{$cat.catid}}" />
					<input type="hidden" name="info[mid]" value="{{$in.mid}}" />
				    <label class="btn"><input type="submit" name="submit" value="确 定 " class="submit" /></label>
				    <label class="btn"><input type="reset" name="reset" value="重 置 " class="submit" /></label></td>
				</tr>
			</tfoot>
		</table>
	</div>	
	<div class="pageList">
		{{$data.pages}}
		<ul class="clearit"></ul> 
	</div>
</div>

</form>
{{include file="default/Public/footer.html"}}